﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GLS.COMMON;
using GLS.PROCESSING;
using System.Data;

namespace GLS.BUSSINES.MASTER
{
    public class GLS_USER
    {
        protected GLS.PROCESSING.MASTER.GLS_USER p = new GLS.PROCESSING.MASTER.GLS_USER();

        public void INSERT(GLS.COMMON.MASTER.GLS_USER obj)
        {
            p.INSERT(obj);
        }
        public void UpdateIsLogin(GLS.COMMON.MASTER.GLS_USER obj, int isLogin)
        {
            p.UpdateIsLogin(obj, isLogin);
        }
        public bool IsAuthenticate(GLS.COMMON.MASTER.GLS_USER obj)
        {
            return p.IsAuthenticate(obj);
        }
        public string EncodePassword(GLS.COMMON.MASTER.GLS_USER obj)
        {
            return p.EncodePassword(obj);
        }
        public string DecodePassword(GLS.COMMON.MASTER.GLS_USER obj)
        {
            return p.DecodePassword(obj);
        }
        public void UPDATE(GLS.COMMON.MASTER.GLS_USER obj)
        {
            p.UPDATE(obj);
        }

        public void DELETE(GLS.COMMON.MASTER.GLS_USER obj)
        {
            p.DELETE(obj);
        }
        public DataTable SELECT()
        {
            return p.SELECT();
        }
        public DataTable SELECTLOGIN(GLS.COMMON.MASTER.GLS_USER obj)
        {
            return p.SELECTLOGIN(obj);
        }

        public DataTable CARI_BYKODE(GLS.COMMON.MASTER.GLS_USER obj)
        {
            return p.CARI_BYKODE(obj);
        }

        public DataTable CARI_BYNAMA(GLS.COMMON.MASTER.GLS_USER obj)
        {
            return p.CARI_BYNAMA(obj);
        }

        public DataTable SEARCH_BYKODE(GLS.COMMON.MASTER.GLS_USER obj)
        {
            return p.SEARCH_BYKODE(obj);
        }

        public DataTable SEARCH_BYNAMA(GLS.COMMON.MASTER.GLS_USER obj)
        {
            return p.SEARCH_BYNAMA(obj);
        }
    }
}
